package 继承案例;

public class teacher extends studentAndTeacher {
    public void pi(){
        System.out.println(getName()+"正在批作业他现在"+getAge()+"岁");
    }
}
